
 #import <QuartzCore/QuartzCore.h>
#import <OpenGLES/EAGLDrawable.h>
#import "GameView.h"

@implementation GameView

- (void)paintScreen{
    
}
- (void)stateMachine{
    
}
- (void)action:(int)x y:(int)y{
    
}
// Handles the end of a touch event when the touch is a tap.
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
	UITouch*	touch = [[event touchesForView:self] anyObject];
    CGPoint point= [touch locationInView:self];
    [currentScreen action:point.x y:point.y];   
}

// Handles the end of a touch event.
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event
{
	// If appropriate, add code necessary to save the state of the application.
	// This application is not saving state.
}

@end
